//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

import com.github.javafaker.Faker;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Locale;
import java.util.Random;
import java.util.UUID;

public class TestData {
    public TestData() {
    }

    public static void main(String[] args) {
        String strs = "";

        for(int i = 0; i < 25; ++i) {
            char ch = GenerText();
            strs = strs + ch;
        }

        String code1 = UUID.randomUUID().toString().replaceAll("[^0-9]", "").substring(0, 6);
        System.out.println(code1);
        String code2 = UUID.randomUUID().toString().replaceAll("[^0-9]", "").substring(0, 5);
        System.out.println(code2);
        System.out.println(strs);
        Timestamp timestamp = new Timestamp(System.currentTimeMillis());
        System.out.println(timestamp);
        String srt = genertProvience();
        System.out.println(srt);
        System.out.println(genertFakerName());

        for(int i = 1; i < 10; ++i) {
            System.out.println(genertFakerName());
        }

    }

    private static String genertFakerName() {
        Faker faker = new Faker(new Locale("zh-CN"));
        String name = faker.name().fullName();
        return name;
    }

    private static BigDecimal genertNum() {
        Random random = new Random();
        BigDecimal bigDecimal = BigDecimal.valueOf((long)random.nextInt(10000000));
        return bigDecimal;
    }

    private static String genertProvience() {
        Random r = new Random();
        String[] citys = new String[]{"北京", "广东", "山东", "江苏", "河南", "上海", "河北", "浙江", "香港", "山西", "陕西", "湖南", "重庆", "福建", "天津", "云南", "四川", "广西", "安徽", "海南", "江西", "湖北", "山西", "辽宁", "内蒙古"};
        int randomInt = r.nextInt(10000) % citys.length;
        return citys[randomInt];
    }

    private static char GenerText() {
        String str = "";
        Random random = new Random();
        int hightPos = 176 + Math.abs(random.nextInt(39));
        int lowPos = 161 + Math.abs(random.nextInt(93));
        byte[] b = new byte[]{Integer.valueOf(hightPos).byteValue(), Integer.valueOf(lowPos).byteValue()};

        try {
            str = new String(b, "GBK");
        } catch (UnsupportedEncodingException var7) {
            var7.printStackTrace();
            System.out.println("错误");
        }

        String strs = "";

        for(int i = 0; i < 25; ++i) {
        }

        return str.charAt(0);
    }
}
